package com.shopping.service;

import com.shopping.pojo.Cart;

import java.util.List;

public interface CartService {
    void addToCart(Integer customerId, Cart cart);
    List<Cart> getCartList(Integer customerId);
    void modifyCart( List<Cart> carts);

    void deleteCart(Integer id);

    List<Cart> getOrderList(Integer customerId);

    List<Cart> allOrder();
}
